
export function BufferToBase64(buffer) {
    const arrayBuffer = new Uint8Array([buffer])
    return uni.arrayBufferToBase64(arrayBuffer)
}
export function Base64ToBuffer(base64Str) {
    return uni.base64ToArrayBuffer(base64Str)
}  
